      <div style="float:left; width:550px;">
        <#if type='1'>
        <table class="input w4">
          <tr>
            <th width="85">合同编号</th>
            <td width="160"><input type="text" name="contractCode" value="${contract.contractCode!}" class="disable" maxlength="20" readonly></td>
            <th width="85"></th>
            <td width="160"></td>
          </tr>
          <tr>
            <th>销售日期</th>
            <td><input type="text" name="saleDate" value="${contract.saleDate!}" class="date disable" maxlength="10" readonly></td>
            <th>销售类别</th>
            <td><input type="text" name="saleType1" value="${contract.saleType!} - <@value type="memberSaleType" key="${contract.saleType!}"/>" class="disable" readonly></td>
          </tr>
          <tr>
            <th>会籍类型</th>
            <td colspan="3"><input type="text" name="contractType" value="${contract.cardType!} - <@value type="cardType" key="${contract.cardType!}"/>" class="w2 disable" readonly></td>
          </tr>
          <tr>
            <th>合同起日</th>
            <td><input type="text" name="contractBegin" value="${contract.beginTime!}" class="date disable" maxlength="10" readonly></td>
            <th>合同迄日</th>
            <td><input type="text" name="contractEnd" value="${contract.endTime!}" class="date disable" maxlength="10" readonly></td>
          </tr>
          <tr>
            <th>合同金额</th>
            <td><input type="text" name="factAmount" value="${contract.factPrice?string("0.00")}" class="disable" readonly></td>
            <th>定金金额</th>
            <td><input type="text" name="earnestAmount" value="${contract.earnestAmount?string("0.00")}" class="disable" readonly></td>
          </tr>
          <tr>
            <th>转入金额</th>
            <td><input type="text" name="inAmount" value="${contract.inAmount?string("0.00")}" class="disable" readonly></td>
            <th>付款金额</th>
            <td><input type="text" name="payAmount" value="${contract.payAmount?string("0.00")}" class="disable" readonly></td>
          </tr>
          <tr>
            <th>短信验证</th>
            <td><#if contract.verifyStatus?? && contract.verifyStatus gt 0><@value type="verifyStatus" key="${contract.verifyStatus!}"/></#if></td>
            <th>验证手机</th>
            <td><input type="text" name="verifyMobile" value="${contract.verifyMobile!}" class="disable" readonly></td>
          </tr>
          <tr>
            <td colspan="4"><hr size="1" style="height:1px; color:#dcc; margin-left:10px;"></td>
          </tr>
        </table>
        <#if canChgverify?? && contract.verifyStatus?? && contract.verifyStatus=2 && _oper?? && _oper='review'>
        <div class="button noprint" style="text-align:left;"><input type="button" value="短信验证通过" onclick="chgVerify('${contract.saleId!}');"></div></#if>
        <#elseif type='2'>
        <table class="input w4">
          <tr>
            <th width="85">合同编号</th>
            <td width="160"><input type="text" name="contractCode" value="${contract.contractCode!}" class="disable" maxlength="20" readonly></td>
            <th width="85"></th>
            <td width="160"></td>
          </tr>
          <tr>
            <th>销售日期</th>
            <td><input type="text" name="saleDate" value="${contract.saleDate!}" class="date disable" maxlength="10" readonly></td>
            <th>销售类别</th>
            <td><input type="text" name="saleType1" value="${contract.saleType!} - <@value type="ptSaleType" key="${contract.saleType!}"/>" class="disable" readonly></td>
          </tr>
          <tr>
            <th>课程</th>
            <td colspan="3"><input type="text" name="contractItem" value="${contract.ptCode!} - <@value type="ptItemName" key="${contract.ptCode!}"/>" class="w2 disable" readonly></td>
          </tr>
          <tr>
            <th>教练</th>
            <td colspan="3"><input type="text" name="contractCoach" value="${contract.coachCode!} - <@value type="ptCoachName" key="${contract.coachCode!}"/>" class="w2 disable" readonly></td>
          </tr>
          <tr>
            <th>合同起日</th>
            <td><input type="text" name="contractBegin" value="${contract.beginTime!}" class="date disable" maxlength="10" readonly></td>
            <th>合同迄日</th>
            <td><input type="text" name="contractEnd" value="${contract.endTime!}" class="date disable" maxlength="10" readonly></td>
          </tr>
          <tr>
            <th>合同金额</th>
            <td><input type="text" name="factAmount" value="${contract.factPrice?string("0.00")}" class="disable" readonly></td>
            <th>付款金额</th>
            <td><input type="text" name="payAmount" value="${contract.payAmount?string("0.00")}" class="disable" readonly></td>
          </tr>
          <tr>
            <th>合同课时</th>
            <td><input type="text" name="quantity" value="${contract.quantity!}" class="disable" readonly></td>
            <th>预约课时</th>
            <td><input type="text" name="bespeakQuantity" value="${contract.bespeakQuantity!}" class="disable" readonly></td>
          </tr>
          <tr>
            <th>核销课时</th>
            <td><input type="text" name="clearQuantity" value="${contract.clearQuantity!}" class="disable" readonly></td>
            <th>剩余课时</th>
            <td><input type="text" name="leftQuantity" value="${contract.quantity-contract.clearQuantity}" class="disable" readonly></td>
          </tr>
          <tr>
            <td colspan="4"><hr size="1" style="height:1px; color:#dcc; margin-left:10px;"></td>
          </tr>
        </table>
        </#if>

        <table class="info">
        <#if reviewList??><#list reviewList as c>
          <#if c.reviewResult?? && c.reviewResult=1>
          <tr>
            <th><@value type="reviewResult" key="${c.reviewResult!}"/></th>
            <td>${c.reviewUser!}-<@value type="userName" key="${c.reviewUser!}"/> ${c.reviewTime?string('yyyy-MM-dd HH:mm')}</td>
          </tr><#else>
          <tr>
            <th>审批结果</th>
            <td><@value type="reviewStatus" key="${c.reviewType!}"/> <@value type="reviewResult" key="${c.reviewResult!}"/>
            ${c.reviewUser!}-<@value type="userName" key="${c.reviewUser!}"/> ${c.reviewTime?string('yyyy-MM-dd HH:mm')}</td>
          </tr></#if>
          <tr>
            <td></td>
            <td>${c.reviewNote!}</td>
          </tr></#list></#if>
        </table>

      </div>
      <div style="float:left; width:250px;">
        <table class="info">
          <tr>
            <th style="width:60px;">会员编号</th>
            <td>${member.memberCode!}</td>
          </tr>
          <tr>
            <th style="width:60px;">中文姓名</th>
            <td>${member.chName!}</td>
          </tr>
          <tr>
            <th style="width:60px;"><@value type="idType" key="${member.idType!}"/></th>
            <td>${member.idNumber!}</td>
          </tr>
          <tr>
            <td colspan="2" style="text-align:center;"><img src="${_picPath!}${member.memberPhoto!}" width="220" onclick="window.open(this.src);"/></td>
          </tr><#if member.idCardPhoto?? && member.idCardPhoto?length!=0>
          <tr>
            <td colspan="2" style="text-align:center;"><img src="${_picPath!}${member.idCardPhoto!}" width="280" onclick="window.open(this.src);"/></td>
          </tr></#if>
          <#if sign??>
          <tr>
            <td colspan="2" style="text-align:center;"><img src="${_appPath!}/svc/contractSign/viewSign?contractCode=${sign.contractCode!}&contractType=${sign.contractType!}&auth=${sign.authCode!}" style="max-width:250px;"/></td>
          </tr>
          <tr>
            <td colspan="2" style="text-align:center;"><img src="${_appPath!}/svc/contractSign/viewHead?contractCode=${sign.contractCode!}&contractType=${sign.contractType!}&auth=${sign.authCode!}" style="max-width:250px;"/></td>
          </tr></#if>
        </table>
      </div>
      <div class="clear"></div>

